package io.renren.modules.avanotes.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.vo.output.SpecialSubjectVo;
import io.renren.modules.avanotes.entity.*;

import java.util.List;
import java.util.Map;


/**
 * 专题类目表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-19 15:17:28
 */
public interface SpecialSubjectService extends IService<SpecialSubjectEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SpecialSubjectVo> listTree(Integer mindBookId);

    SpecialSubjectEntity getEntity(Integer id) throws Exception;

    /**
     *
     * @param page
     * @param scheduleId
     * @return
     */
    PageUtils queryPageByScheduleId(IPage<SpecialSubjectEntity> page, Long scheduleId);
}

